package nc.impl.hdysc.wbs;

import nc.bs.dao.BaseDAO;
import nc.itf.hdysc.wbs.IWebAction;
import nc.vo.pub.BusinessException;

public class BarCodeUpdateWbsImpl implements IWebAction {

	public void doAction(String[] params) throws BusinessException {
		String pk = params[0];
		String status = params[1];
		BaseDAO dao = new BaseDAO();
		String updateSQL = "update crs_barcode_history set send_status=" + status + " where pk_barcode_history='" + pk
				+ "' and nvl(dr,0)=0";
		dao.executeUpdate(updateSQL);
	}

}
